oops, that was not meant to be committed yet
clamp framerate to 30fps