fix intenal and external sd access