arrays similar and strip url params