exec and clock bug fix