Fixed deploy code