removed debugging message and fixed indents