fixed bug in hplc code causing error/failure in code at runtime