fix using cache in Role