little fix, is_type doesn't work anyway