Fix bug in projects widget