compilation fix #333