Fixed deploy issues.