when I use the dist file for this everything is fine
So evidently you have edited something that is causing this