fix for stupid bug