fixed permissions issue