Fixed multiple calls to same method in render
IllegalArgumentException not allowed to throw static string for unknown reason, temp fix