The mattress might cause the squeaking noise too. Check your mattress and make sure that it is centered on the bed frame as uneven weight distribution might lead to squeaky noises.