fixing warning block 2