fixed the bug with the inproduction, in the end put messagebox