Fixed Bug for APA Preview

Fixed Bug for APA Preview