check if is set mode on worker