fixed timing sign error