minor improvements

Signed-off-by: Kalman Olah <kalman@inuits.eu>