Fixed very strange compile bug