fixing error with creating packageString