fix error during deploy