getting wierd compile bugs