fix #85 in an ugly way, but it will be good enough for now.