paste validation