Fixed some warnings

Signed-off-by: Kristian Sons <kristian.sons@supporting.com>