Made it compile on mercury