set max frame rate to 30