Bug fix, now functioning.