removed upgrade and fixed missing source