Fixing deploy method