many fixes and changes in mk.conf