Fixed a bug with detecting access transformer