fixed for terminal