get param from block