fixed some broken methods, added push to log function