add floor, fix pause bug