fix indent, small code refine
fix indent, small code refine

zordius/lightncandy,Southparkfan/lightncandy,jmgq/lightncandy,vein1992/lightncandy,cgvarela/lightncandy,fadimko/lightncandy,fadimko/lightncandy,zordius/lightncandy,Corollarium/lightncandy,jmgq/lightncandy,Corollarium/lightncandy,vein1992/lightncandy,Southparkfan/lightncandy,cgvarela/lightncandy