Fixed deploying on devices.