Fixed beam sleeping problem.