Overcooking the filling will make it hard. Cook it just till the mixture is dry with still a little moisture left to prevent it from turning hard.