Remove inline style and debug code