Changed FB function syntax to fix assets compiling error