added git ignore
fixed bugs related to rendering