fixed a few issues with AccessProfile