to fix type parse