Some extra checks just in case