fixed END missing in deeploy