Modified some source code which were useless.