fixing deliveries controller