addressed some MERGENOTE in application_helper

just a bit of minor refactoring required