fixed bugs, enanbled warnings in case of expiring drugs