minor code review changes

Signed-off-by: Max Stemplinger <ms@campudus.com>