Fixed addOverlay pull request

changed variable and added spaces.