fixed a small issue (not a bug, just weird code)