permissions
fixed some notices