throwing error, not string