Correct lame:wake bug in a rather crude way.