quick fix margin login