add deploy and corrected errors