Refactores the saveGet() method to remove unwanted linebreak.