working on fixing framebuffers