general fix pre deploy