changes to try and fix errors