fixed redirect after adding the block