fixed forward/backward bugs, as well as EM skeleton bugs