1. freeRange clear on invalid endpoint, 2. fix start and end alt fields