removed unused variable in prompt tag handler.