finished checkstlye error fixing