Air in the system will give you fits also. Try to bleed the system.
Thank you for the help. I change the master cylinder and bleed it to no air and now it works great. Thanks again it save me a trip to the garage