correct frame name generation