Corrected the entity/id parameter loading.