Minor changes and warning fixes

Signed-off-by: hana-ko <hana.ko@o2.pl>