removed unused dbprefix declaration
correct check of marked answer state instead of closed state