fixed rcperms depend