fast fix for stupid logic