fix 'phptype_not_set' alert