added validation for empty ribbit