Fixes bug with normalize method