fixing some errors on note show and adding some puts