fix for fype type