fixed bugs and improved UI
udpated mini file