add a non-negativity protection here, otherwise the activity model will break down.