finally everything working as expected