fix green screen bug