another fix for the weird problem