- fixed bug where new line character was kept in the name when inputing from prompt