setting default midi port and fixing path