Bugfix convert string to throw error