Fix bed crashing.