fixes

wait interval type changed to float