fixed an extremely obvious bug?