update compilattion and fix permission