"Cryptographic" hash function
First you need to read Schneier's Memo to the Amateur Cipher Designer.  All amateur cryptography is faulty, not just yours.  I too designed a cryptographic hash, based round RC4, put it out on the web and Scott Fluhrer was kind enough to show me the obvious faults in it.  He is an expert, so he knew what to look for.  I was not and I did not know what I had to protect against.  Our conversation is probably still out there on the sci.crypt Usenet group from 2007.

To design a good hash function you need to know the types of attacks that are used against hashes.  For example, does your hash specifically guard against length-extension attacks?

How fast is your hash compared to other current cryptographic hashes such as SHA3?

For a first suggestion, learn how cryptographic hashes pad their input and why.  Either incorporate the same technique into your hash or else find a different way to serve the same purpose.  You are not the first person to write a hash.  Learn so you can stand on the shoulders of giants.