support byte and short param types