added medicine/mixing/records checks
corrected check