fixes in framebuffer