Bug fix in memory percent usage