try to get the right format