fixed issues with actual deployment