Fixed HSL bug introduced in last few revisions