Code-style fixes
Console permission fix