fixed wrong bracket
fixed errors only shown in potrait and if error message available