ignore sql types in beginning of input
fix unit test