Fixed using ceiling instead of floor bug