Fixed Max' sloppy programming

Signed-off-by: Daniel Diekmeier <danieldiekmeier@gmail.com>