Fixed horizontal automatic margin.
Fixed bad query.