Fix return state

Signed-off-by: Ramon Vloon <ramonvloon@hotmail.com>