minor fix, just supporting generic types of Frame