fix search alignment