bug fix for deployment