quick fix to ignore negative value