Fixed minor error.
Fixed that support wasn't used.
Fixed swapped parameters.