changedd text align to float