minor math bug fix for y value in relavence