remove unnecessary hash declaration