padding fix
invalid placement fallback added