Hi, it's an anycubic i3 mega. Thank you for responding.

The issue appears to be what you suggested, and maybe other things. From when I posted till now I have replaced the hotend along with redoing the wiring and it seems to be printing fine. (although it was a pain in the ***).
Than you for the advice and fixing the link too.