ugly fix for simple problem