getline error fixed (workaround)