made the condition div work for all manu and all types