Sounds like you've wired the two switches in series--basically the feed to switch two comes from the switched side of switch one instead of the constant on side.