Manager lock and prettyfy