fixed code first deployment