fixing duplicate method

Signed-off-by: Ondrej Rafaj <ondrej.rafaj@fuerteint.com>