Corrected fixed bed and added retrive sequences class