change timeout 500 to 50.