removed some logging; fix failure case in deploy mode