fixed issues with universal frameless
corrected some static calls inside frameless class