small fixes in if block slides