fixed a bug in asRole and includes