deleting objects & fixed deltatime