fix sources default empty error