fixing spacing issues in print statement