Fix wrong argument order

Signed-off-by: Ondrej Kupka <ondra.cap@gmail.com>