How can I convert a california king wooden bed frame to a king size mattress? I have a headboard and foot board attached by wooden side rails. The side rails have hooks to attach to the headboard and footboard. We support the mattress with a king bed frame. Problem is there is a gap at the bottom (or top) of the bed and the wooden side rails tend to pop up and off. Is there a solution less than cutting the rails?