Fixed the bug, it was the engine's fault since it didn't handle integer attributes well. Fixed engine.