TODO: G5K crashes if resources in project is empty