tidy up, commented out console statements and fixed phantom path