remove customTypes param