[fix] check if type of pagelet is string