some weird linux/debian feedback with this function.