fixing mathematics classes <Autor: Ramon>