bug fixes on auth/deploy