fix deployment bug