fixed some errors with the fb connections