Fixed some errors with prompt inc. readline