weird compilier errors