removing extra semi-colans