Fixed up pinLoader for readibility
Fixed pin category issue