fixed run for user input