remove green bar and calculate some cells