Also remove extra space in prehook