Erased  detach method in FrameBuffer due to error generation