fixed a minor warning and and removed white space