adding protextion against negativ limit