revise the paintwall.php