Fixed issue 305.