Fixed bug when entering to planification