change Value Wait from float to int