clean, refactor HelperFrameBuffer