fixed mistake on return nothing in the get_paste method