fixed issue that uses wait_key/return status - thought sh's read caused the pause