Fixes bug when getting signatures