looks like you don't know how to bleed, that concludes that you probably didn't bleed well so your system behaves abnormally. from that point, i'd recommend you get a professional bleeding done first, hopefully you will get it cured.
in case it is still having mysterious behavior after a formal bleeding, consider changing master cylinder then bleed. good luck.
in case it is still having mysterious behavior after a formal bleeding, consider changing master cylinder then bleed. good luck.