add checking psr script
reformat codes