bug fixed: permissions error