fixed some delays