added validation of title length