Correct all of the grammatical issues in the given text.
By being foldable, space could be made available for use where the bed would havve been.
By being foldable, space could be made available for use where the bed would have been.