remove unnecessaray math