code cleanup, use helper method for url_helper