fixing pinning