fix to privlieges