remove debug log
add parseint for timeout