fix afterlogic (wrong rename)