Bug fixed. ref #263