[BUGFIX] use isset instead of empty