Little fix on admin class