fixes #5 initial commit bug