replaced the order of @param.
fixed @var type to be string.
mostly @param type fixes.