Fillement runout error dont stop

So my k1 max started acting wierd recently.

When the filiment runs out i get the filliment runout error and it tells me to add more fillimment and start the print but the printer never stops it just continue printing

Anyone have a idea why?