permissions bugfix and comment bugfix