fixes validate so it only returns true when it needs to