do something if its not a frame