set values to -1 if exception happens