validations for book and highlight