fixed error and added git ignore