FIX: fix bug getting values in file