Fixing deployment errors