fix deployment exception