ogBefore fix