fixed getRestParam head empty list
issuve #21 fix
issue #21