fix fps and collision