fixed some monile issues