resolve permissions issue