many fixes for frames classes