fixed floor bug