Fixed incorrect onduty type