Fix timer
Fix timer and fd