make it more tollerable to wrong data