fix ensure master -> present