fix normal calculation