removed casting to String

Signed-off-by: nickolayrusev <nickolay.rusev@gmail.com>