Fix frames error