fixed issue, trying to use scope