Fixed problem with address flags