fix problem with navbar on compilage.