fixed violations of UnnecessaryReturnKeyword rule
snapshot