hot fix for echoing returned string