added doc ignore to src directory
fixed a char bug