apply Uldrich's fix for lou tweak, to not count palace resources
fix a spelling mistake