Fix deploy tasks