Fix modes.

Signed-off-by: Rob Caelers <rob.caelers@gmail.com>