Fixed small magnitude bug