fixing warning block 3