fixed more permission errors