embapp: fix visual bug and add error handling