fixed errors in pull request as per RAD