fix dependencies to swing console