Sorry for being offline for so long. I have updated to the latest ubports version today and the issues are gone.