Fixed error in fsagent fix #2